﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReportYQ2QKFMX.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.FXModel.ReportYQ2QKFMX" %>
<%--逾期2期以上客户明细--%>
<form id="pagerForm" method="post" action="FXModel/ReportYQ2QKFMX.aspx">
 <input type="hidden" name="LeaseCompany" value="<%=LeaseCompany %>" />
 <input type="hidden" name="AliasName" value="<%=AliasName %>" />
 <input type="hidden" name="orderField" value="<%=orderField %>" />
 <input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
</form>
<form id="ReportYQ2QKFMXFrom" runat="server" method="post" action="FXModel/ReportYQ2QKFMX.aspx" onsubmit="return navTabSearch(this);">
<div class="pageContent" >
    <div class="pageHeader" style="overflow:hidden!important;">
    <div class="searchBar">
        <table class="searchContent">
            <tr>
                <td>租赁公司：</td>
                <td> 
                    <select name="LeaseCompany" onchange="$('#ReportYQ2QKFMXFrom').val(''); return navTabSearch(ReportYQ2QKFMXFrom)">
                    <%=GetLeaseCompany(LeaseCompany)%>
                    </select>
                </td>
                <td>经销商:</td>
                <td>
                    <select id="ReportGetJXSYQ2CSLSBPFrom_AliasName" name="AliasName" onchange="return navTabSearch(ReportYQ2QKFMXFrom)">
                        <%=GetAliasNameList()%>
                    </select>
                </td>
               
                <td>
                     <div class="subBar">
                        <ul>
                            <li>
                                <div class="buttonActive"><div class="buttonContent"><a href="<%=ExportExcelWebUrl %>/FXModel/ReportYQ2QKFMX.aspx?LeaseCompany=<%=HttpUtility.UrlEncode(LeaseCompany) %>" target="_blank" title="确定要导出吗?" style=" line-height:25px!important;" >导出</a></div></div>
                            </li>
                        </ul>
                    </div>
                </td>    
                <td>
                    逾期数据更新时间:<b style="color:red;"><%=IHISCETeim.BLL.FXFinanceLeaseController.GetLastRefresDate()%></b>
                </td>                
            </tr>   
        </table>  
    </div>
</div>   
        <table class="table" width="100%" layouth="90" >                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <thead >
        <tr  >
            <th >序号</th>
            <th >经销商</th>
            <th >合同号</th>
            <th>用户</th>
            <th  >机号</th>
            <th  >月租金</th>
            <th  >总期数</th>          
            <th  >已付期数</th>
            <th  >剩余期数</th>
            <th  >逾期期数</th>
            <th  >逾期金额</th>

            <th  >用户实际逾期金额</th>   
            <th  >降到3.99期须支付金额</th>
            <th  >降到2.99期须支付金额</th>
            <th  >是否拖回车</th>
            <th  >降低落实情况</th>
            <th  >提请协助</th>
        </tr>
        </thead>
        <asp:repeater id="rpMenu" runat="server">
            <HeaderTemplate> 
            <tbody>            
            </HeaderTemplate>
            <ItemTemplate> 
                <tr >
                    <td ><%# Eval("序号")%></td>                        
			        <td><%# Eval("经销商")%></td>
                    <td><%# Eval("合同号")%></td>
                    <td><%# Eval("用户名")%></td>
                    <td><%# Eval("机号")%></td>
                     <td><%# Eval("月租金")%></td>
                    <td><%# Eval("总期数")%></td>
                    <td><%# Eval("已付期数")%></td>                    
                    <td><%# Eval("剩余期数")%></td>
                    <td><%# Eval("逾期期数")%></td>
                    <td><%# FormatDecimalToStrings(Eval("逾期金额"), "N")%></td>
                     <td>&nbsp;</td>
                    <td><%# Eval("降到3_9期")%></td>
                    <td><%# Eval("降到2_9期")%></td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>               
		        </tr>
            </ItemTemplate>
            <FooterTemplate>
                <tr >
                    <td ></td>                        
			        <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                     <td></td>
                    <td><%= GetSum("总期数")%></td>
                    <td><%= GetSum("已付期数")%></td>                    
                    <td><%= GetSum("剩余期数")%></td>
                    <td><%= GetSum("逾期期数")%></td>
                    <td><%= FormatDecimalToStrings(GetSum("逾期金额"), "N")%></td>
                     <td>&nbsp;</td>
                    <td><%= GetSum("降到3_9期")%></td>
                    <td><%= GetSum("降到2_9期")%></td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>               
		        </tr>
            </tbody>            
            </FooterTemplate>
        </asp:repeater>
        </table>      
</div>

</form>